<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>招标列表</title>
    <!--css style-->
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/font.css">
    <link rel="stylesheet" href="responsive/flexible.css">
    <script src="responsive/flexible.js"></script>
</head>
<body class="inner_page tender_list">
    <header>
        <a href="javascript:void(0)" class="pre_page"></a>
        <a href="index.html" class="home"></a>
        招标列表


    </header>


    <section class="main">

        <div class="tenders_list">
            <ul class="container">
                <li>
                    <div class="pic"><a href="tender_detail.html"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <li>
                    <div class="pic"><a href="tender_detail.html"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <li>
                    <div class="pic"><a href="tender_detail.html"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <li>
                    <div class="pic"><a href="tender_detail.html;"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <li>
                    <div class="pic"><a href="tender_detail.html;"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <li>
                    <div class="pic"><a href="tender_detail.html"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <li>
                    <div class="pic"><a href="tender_detail.html"><img src="img/tender.jpg" alt=""></a></div>
                    <div class="desc">
                        <h2><a href="tender_detail.html">保利管道上海总经销、各类卫浴厨 具龙头开关</a></h2>
                        <p class="type"><i>建材</i>江苏省  上海市</p>
                        <a href="bidding_info.html" class="to_bid">我要竞标</a>
                    </div>

                </li>
                <div class="clear"></div>
            </ul>

        </div>
        <div class="mask species_mask" style="display: block">
            <div class="species_main">
                <div class="con">
                    <h3>查看该招标信息需要扣除 <span>2</span> 金币</h3>
                    <p>您的剩余金币：<span>0</span> <a href="javascript:void(0)" class="pop_up">立即充值</a></p>
                    <h4><a href="javascript:void(0)" class="pop_cancel">取消</a><a href="javascript:void(0)" class="pop_ok">确认</a></h4>
                </div>
            </div>
        </div>

    </section>

    <!--<div class="fix_nav">
        <div class="wrapper">
            <ul class="container">
                <li>
                    <a href="index.html" class="home active">
                        首页
                    </a>
                </li>
                <li>
                    <a href="list.html" class="class">
                        分类
                    </a>
                </li>
                <li>
                    <a href="activity.html" class="activity_center">
                        活动中心
                    </a>
                </li>
                <li>
                    <a href="cart.html" class="cart"><span>99</span>
                        购物车
                    </a>
                </li>
                <li>
                    <a href="vip.html" class="mine"><span></span>
                        我的
                    </a>
                </li>
            </ul>

        </div>

    </div>-->


    <!--发布招标信息-->
    <a href="bidding_post.html" class="to_post"><img src="img/post_bid_icon.png" alt="">发布招标信息</a>

</body>
<script src="js/jquery.js"></script>
<script>
    $(function(){
        console.log( $(":input"));
        $(":input").change(function(){
            var $this=$(this);
            var $label=$this.next();
            var $parent=$(this).parents("dd");
            var $span=$parent.prev().find("span");
            if($this.is(":checked")){
                console.log($label);
                if($span.html()=="全部"){
                    $span.addClass("red");
                    $span.selected=true;
                    $span.html($label.html());
                }else{
                    console.log("111");
                    $span.html( $span.html()+","+$label.html());

                }

            }else{
                if($parent.find(":checked").length==0){
                    $span.html("全部");
                    $span.removeClass("red");
                    return;
                }else{
                    $span.html("");
                    var str="";
                    $parent.find(":checked").each(function(index){
                        console.log($(this).next().html());
                        str+=","+$(this).next().html();

                    });

                    $span.html(str.substr(1));
                }

            }
        });
    });
</script>
</html>